.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 45, 78, 0.7); /* 深蓝色遮罩层 */
    z-index: 1;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    z-index: 2;
    position: relative;
}
.login-box {
    background-color: rgba(255, 255, 255, 0.5); /* 设置更透明 */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 400px; /* 增加宽度 */
}
.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
}
.login-box input[type="text"],
.login-box input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
    box-sizing: border-box;
}
.login-box input[type="submit"] {
    width: 48%;
    background-color: #388e3c; /* 稍深的绿色 */
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}
.login-box input[type="reset"] {
    width: 48%;
    background-color: #3f72af;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}
.login-box input[type="submit"]:hover {
    background-color: #2e7d32;
}
.login-box input[type="reset"]:hover {
    background-color: #2f5b8f;
}
.button-group {
    display: flex;
    justify-content: space-between;
}
.error-msg {
    color: red;
    text-align: center;
    font-size: 18px;
}
.top-bar {
    background-color: #112d4e;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    z-index: 3;
    top: 0;
}
.top-bar span {
    display: block;
}
.welcome-msg {
    margin-top: 5px;
}
